package com.sc.nft.admin.request;

import com.sc.nft.enums.CollectionLevel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AddBoxProductRequest {


    @ApiModelProperty("一级标题")
    @NotBlank(message = "一级标题不能为空")
    private String firstTitle;

    @ApiModelProperty("盲盒藏品总数量")
    @NotNull(message = "盲盒藏品总数量不能为空")
    @Range(min = 1,message = "盲盒藏品数量不正确")
    private Integer boxCount;

    @ApiModelProperty("创作者")
    @NotNull(message = "创作者id不能为空")
    private Long userCreatorId;

    @ApiModelProperty("系列id")
    @NotNull(message = "盲盒系列不能为空")
    private Long catenaId;

    @NotBlank(message = "缩略图不能为空")
    @ApiModelProperty("缩略图")
    private String creationContent;

    @ApiModelProperty("作品故事")
    @NotBlank(message = "作品故事不能为空")
    private String productPresentation;

    @ApiModelProperty("详情页图类型 1 图片 2:动图 3:3d模型")
    @NotNull(message = "详情页图类型不能为空")
    private Integer productDetailPictureType;

    @ApiModelProperty("详情页图")
    @NotNull(message = "详情页图不能为空")
    private String productDetailPicture;

    @ApiModelProperty("是否可以转赠")
    private Boolean isGive;

    @ApiModelProperty("是否为平台展示")
    private Boolean platformShow;

    @ApiModelProperty("是否为品牌岛展示")
    private Boolean brandShow;

    @ApiModelProperty("是否为企业展示")
    private Boolean firmShow;

}
